import json
dict1= {
  "name": "John",
  "age": 30,
  "sex": "男"
}
print(json.dumps(dict1))

bool1=True